package com.imau.service;

import com.github.pagehelper.PageInfo;
import com.imau.bean.Role;

public interface RoleService {

    Role save(Role Role);

    int deleteById(String id);

    Role findById(String id);


    PageInfo<Role> queryListByPagte(Role Role, int currentPage, int size);

    int updateRole(Role Role);



    /**分配角色服务*/
    int assignPermission(String rid,String perids[]);
}
